<?php

class Tipocarta extends MY_Model {


 
    function Tipocarta()
    {
        // Call the Model constructor
        parent::MY_Model();
	$this->nombreTabla = "tipocarta";
	$this->idT1= "idTipoCarta";
	$this->nombreCampo="descripcion";

		$this->campos[] = array("realname" => "descripcion",
					"clase" => "text",
					"label" => "Tipo de Carta",
					"rules" => "required|min_length[3]|max_length[45]|alpha|alpha_numeric_space");
		

    }
     
 
}


?>
